package request

// Paging common input parameter structure
type PageInfo struct {
	PageNum  int `json:"pageNum" form:"pageNum" validate:"required"`   // 页码
	PageSize int `json:"pageSize" form:"pageSize" validate:"required"` // 每页大小
}

// Find by id structure
type GetById struct {
	ID float64 `json:"id" form:"id"` // 主键ID
}

type IdsReq struct {
	Ids []uint64 `json:"ids" form:"ids" validate:"required,ne=0"` // 主键集合
}

// Get role by id structure
type GetAuthorityId struct {
	RoleId string // 角色ID
}

type Empty struct{}
